import {baseRequest} from '@/utils/request'

const request = (url, ...arg) => baseRequest(`/tjzy/call/receipt/business/` + url, ...arg)
export default {
	pageList(data) {
		return request('pageList', data, 'post')
	},
	pageListReport(data) {
		return request('report/page', data, 'post')
	},
	exportReport(data) {
		return request('report/export', data, 'post', {
			responseType: 'blob'
		})
	},
	pageListReportOld(data) {
		return request('report/pageOld', data, 'post')
	},
	exportReportOld(data) {
		return request('report/export/old', data, 'post', {
			responseType: 'blob'
		})
	}
}
